<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Vue Counter</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script> <!-- 引入Vue.js -->
</head>

<body>
    <div id="app">
        <button @click="decrement">-</button>
        <span>{{ count }}</span>
        <button @click="increment">+</button>
    </div>
    <script src="main.js"></script> <!-- 引入包含Vue实例逻辑的JavaScript文件 -->
</body>

</html>